import { IconUpload } from '@tabler/icons-react'
import { Button } from '@/components/ui/button'
import { useUploads } from '../context/uploads-context'

export function UploadsPrimaryButtons() {
  const { setOpen } = useUploads()
  return (
    <div className='flex gap-2'>
      <Button className='space-x-1' onClick={() => setOpen('add')}>
        <span>Upload File</span> <IconUpload size={18} />
      </Button>
    </div>
  )
}
